home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
126-150
/
disk_136
/
yaboingii
/
yaboingii.doc
< prev
next >
Wrap
Text File
|
1992-05-06
|
2KB
|
55 lines
YaBoing II, by Ali T. Ozer
ARPA: ali@Score.Stanford.Edu
REAL: Box 7703, Stanford, CA 94309
--------------------------------------------------------
YaBoing II is freely distributable and not for sale.
--------------------------------------------------------
This is a second version of the small WorkBench game
YaBoing!,"Yet Another Boing." Except for the use of
sprites and general silliness, YaBoing II is much
different that YaBoing!.
YaBoing II is really a "stack-calculator" simulator
where you have to hunt down the numbers to be input
and the operators to be applied...
-The "calculator" has a 4-location stack. The window
displays the four entries, with the bottom of the
stack at the top (right under the title bar).
-Inputs are one-digit only; when you catch a "number"
sprite the value (0-9) is pushed to the stack.
-If the stack overflows, you lose the bottom entry.
-The operators "+", "-", "*", "/", pop the top two
entries of the stack and push the result. If you push
X and then Y, the result is X op Y (and not Y op X).
If the stack has less than 2 entries, the operator
is ignored and nothing happens.
-The "POP" operator pushes the top element off.
-The "SWAP" operator swaps the top two elements.
-The "?" is a mystery number greater than 9.
-The stack locations hold 32-bit unsigned numbers.
-If "+" or "*" causes overflow, the result is simply
truncated.
-If subtraction causes a negative result, you get 0.
-If you divide by ZERO, the system GURUs.
-No, no, kidding. If you divide by ZERO the stack is
cleared.
So what's the goal of the game? To end up with the
highest number on top of the stack at the end of the
game. When the game ends the rest of the stack is
discarded. The game lasts about 40-45 seconds, and
about five seconds before the end your mouse pointer
changes shape to warn you (so that you can make sure
you have your best number at the top of the stack...).
When the game ends the current score and the best so
far are displayed. To play another game, simply click
the right mouse button. YaBoing II can also be
deactivated at any time with a right mouse click.
(Left mouse will also work, but then you need to click
on the YaBoing II window itself.)
The high score is (2^32) - 1, I think. Good luck!